import store from "@/store"
import * as types from '@/store/State/stateTypes'

export function getCurrentUser() {
  // const userInfo = {
  //   userName: store[types.USER].userName,
  //   userFullName: store[types.USER].userFullname,
  //   telNumber: store[types.USER].phone,
  // }
  console.log(store.state[types.USER])
  const userInfo = store.state[types.USER]
  return userInfo
}